package software;

import java.util.Collection;
import java.util.Iterator;

public class Pos_plates{
	public Pos_done postdone= new Pos_done();
	private Pla_data platesdata=new Pla_data();
	private Collection postplates;
	private Iterator iterator;
	private int Num_Plates=0;
	private int ID_Plates;
	private String Nam_Plates;

	public void Pla_Read(int id){
		Num_Plates=0;
		postplates=postdone.Pla_Read(id);
		iterator=postplates.iterator();
		Num_Plates=postdone.Num_Pos_Plates;
	}
	public void getPost(){
		if(iterator.hasNext()){
			platesdata=(Pla_data)iterator.next();
		}
	}
	public int getNum_Plates(){
		return Num_Plates;
	}
	public int getID_Post(){
		return platesdata.ID_Post;
	}
	public void setID_Post(int s){
		platesdata.ID_Post=s;
	}
	public int getID_User(){
		return platesdata.ID_User ;
	}
	public void setID_User(int s){
		platesdata.ID_User=s;
	}
	public int getID_Use_Last(){
		return platesdata.ID_Use_Last;
	}
	public void setID_Use_Last(int s){
		platesdata.ID_Use_Last=s;
	}
	public int getNum_Reply(){
		return platesdata.Num_Reply;
	}
	public void setNum_Reply(int s){
		platesdata.Num_Reply=s;
	}
	public int getNum_Clicks(){
		return platesdata.Num_Clicks;
	}
	public void setNum_Clicks(int s){
		platesdata.Num_Clicks=s;
	}
	public String getNam_User(){
		return platesdata.Nam_User ;
	}
	public void setNam_User(String s){
		platesdata.Nam_User =s;
	}
	public String getTitle(){
		return platesdata.Title ;
	}
	public void setTitle(String s){
		platesdata.Title =s;
	}
	public String getNae_Use_Last(){
		return platesdata.Nae_Use_Last ;
	}
	public void setNae_Use_Last(String s){
		platesdata.Nae_Use_Last =s;
	}
	public String getTim_Post(){
		return platesdata.Tim_Post ;
	}
	public void setTim_Post(String s){
		platesdata.Tim_Post =s;
	}
	public String getTim_Last(){
		return platesdata.Tim_Last ;
	}
	public void setTim_Last(String s){
		platesdata.Tim_Last =s;
	}
}